/**
 * 版权所有(C)，上海海鼎信息工程股份有限公司，2007，所有权利保留。
 * 
 * 项目名：	rumba
 * 文件名：	CMscbOrder.java
 * 模块说明：	
 * 修改历史：
 * Oct 30, 2007 - lxm - 创建。
 */
package com.hd123.rumba.mscb.order;

import com.hd123.rumba.runtime.CBaseEntity;
import com.hd123.rumba.util.HashMap2;

/**
 * 消息订阅单 | 常量类
 * 
 * @author lxm
 * @see IMscbOrder
 */
public class CMscbOrder extends CBaseEntity {

  public static String CAPTION_CLASS = "消息订阅单";

  /* 状态取值 */
  public static final Integer VALUE_STATE_USING = new Integer(0);
  public static String CAPTION_STATE_USING = "使用中";
  public static final Integer VALUE_STATE_DELETED = new Integer(999);
  public static String CAPTION_STATE_DELETED = "已删除";
  public static final HashMap2 STATEMAP = new HashMap2().put2(VALUE_STATE_USING,
      CAPTION_STATE_USING).put2(VALUE_STATE_DELETED, CAPTION_STATE_DELETED);
  
  public static String CAPTION_SUBJECT = "订阅主题";

  /** @see IMscbOrder#getSubjectClass() */
  public static String CAPTION_SUBJECTCLASS = "订阅主题类型";
  public static final int LENGTH_SUBJECTCLASS = 128;
  
  /** @see IMscbOrder#getEvent() */
  public static String CAPTION_EVENT = "订阅事件";
  public static final int LENGTH_EVENT = 32;
  
  public static String CAPTION_CONSTRAINT = "约束条件";
  
  /** @see IMscbOrder#getConstraintContext() */
  public static String CAPTION_CONSTRAINTCONTEXT = "约束条件上下文";
  
  /** @see IMscbOrder#getConstraintDesc() */
  public static String CAPTION_CONSTRAINTDESC = "约束条件描述";
  
  /** @see IMscbOrder#getConstraintClassName() */
  public static String CAPTION_CONSTRAINTCLASSNAME = "约束条件解释器类名";
  public static final int LENGTH_CONSTRAINTCLASSNAME = 128;
  
  /** @see IMscbOrder#getSubscriber() */
  public static String CAPTION_SUBSCRIBER = "订阅者";
  
  /** @see IMscbOrder#getNote() */
  public static String CAPTION_NOTE = "附言";
  
  /** @see IMscbOrder#getFlag() */
  public static String CAPTION_FLAG = "标记";
  public static final int LENGTH_FLAG = 16;
  
  /** @see IMscbOrder#getSubscribeTime() */
  public static String CAPTION_SUBSCRIBETIME = "订阅时间";
  
  /** @see IMscbOrder#getPrompts() */
  public static String CAPTION_PROMPTS = "提醒明细列表";
}
